<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class ReUser extends Model
{
    //
    protected $table='re_user';
    protected $primaryKey='id';

    /**
     * 一对多：一个用户对应多个简历
     * @return \Illuminate\Database\Eloquent\Relations\HasMany
     */
    public function hasManyResume(){
        return $this->hasMany('App\Model\Resume','resume_user_id','id');
    }
}
